<?php

namespace app\api\controller\questions;

use app\api\controller\Controllers;
use app\api\service\questions\Answer as AnswerService;

class Answer extends Controllers
{

    /**
     * 显示指定的资源
     *
     * @param  int  $id
     * @return \think\Response
     */
    public function read(AnswerService $service, int $id)
    {
        return success($service->read($id));
    }

}
